from django.db import models

# Create your models here.

class Department(models.Model):
    """"部门表"""
    deptname = models.CharField(verbose_name='标题', default="", max_length=32)

class UserInfo(models.Model):
    """" 员工表 """
    usernm = models.CharField(verbose_name='姓名', default="", max_length=32)
    passwd = models.CharField(verbose_name="密码", max_length=32)
    age = models.IntegerField(verbose_name="年龄")


